<div class="widget">
  <a href="/t/shecoded">
    <img src="<%= asset_path('she-coded-rectangle.png') %>" style="cursor:pointer;min-height:136px;background:#0e0e0e" alt="she coded"/>
  </a>
  <center style="padding:10px;font-weight:600;font-size:22px;">Latest Posts</center>
</div>
<% Article.tagged_with("shecoded").where(approved: true, published: true).order("created_at DESC").limit(8).each do |article| %>
  <a href="<%= article.path %>" style="display:block;color:#0e0e0e">
    <div class="widget">
      <header>
        <span class="emoji">💪</span> <%= article.title %>
      </header>
      <img src="<%= ProfileImage.new(article.user).get(420) %>" style="cursor:pointer;" alt="<%= article.user.username %>"/>
    </div>
  </a>
<% end %>
<a href="/t/shecoded">
  <div class="widget">
    <a href="/t/shecoded">
      <img src="<%= asset_path('she-coded-rectangle.png') %>" style="cursor:pointer;min-height:136px;background:#0e0e0e" alt="she coded" />
      <center style="padding:10px;font-weight:600;font-size:22px;text-decoration:underline;color:#0e0e0e">View All <%= Article.tagged_with("shecoded").where(approved: true, published: true).size %> Submissions</center>
    </a>
  </div>
</a>
